﻿import { axios } from '@/utils/request'

/**
 * 查询Project
 *
 * @author BettyZhao
 */
export function ProjectPage (parameter) {
  return axios({
    url: '/Project/page',
    method: 'get',
    params: parameter
  })
}

/**
 * Project列表
 *
 * @author BettyZhao
 */
export function ProjectList (parameter) {
  return axios({
    url: '/Project/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加Project
 *
 * @author BettyZhao
 */
export function ProjectAdd (parameter) {
  return axios({
    url: '/Project/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑Project
 *
 * @author BettyZhao
 */
export function ProjectEdit (parameter) {
  return axios({
    url: '/Project/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除Project
 *
 * @author BettyZhao
 */
export function ProjectDelete (parameter) {
  return axios({
    url: '/Project/delete',
    method: 'post',
    data: parameter
  })
}
